package com.tarena.lbs.business.dao.repository;

import com.github.pagehelper.PageInfo;
import com.tarena.lbs.business.pojo.po.BusinessPO;
import com.tarena.lbs.business.pojo.query.BusinessQuery;
import com.tarena.lbs.business.pojo.vo.BusinessStoreVO;

public interface BusinessRepository {

    Integer save(BusinessPO bpo);

    Long selectByName(String businessName);

    PageInfo<BusinessPO> getPages(BusinessQuery query);

    BusinessPO selectById(Integer businessId);

    BusinessStoreVO selectByBusinessId(Integer businessId);
}
